docs: Document accessible roles of some classes
authorMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2020 02:51:11 +0000 (22:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 21 Oct 2020 02:51:11 +0000 (22:51 -0400)
GtkListBox and GtkFlowBox were missing this.

gtk/gtkflowbox.c
gtk/gtklistbox.c

index 79106c74c664f23897dcc091df38ee71eda5a630..0ec12db7e41820d509b7b3eeb0857aa612e6bfae 100644 (file)
  * GtkFlowBox uses a single CSS node with name flowbox. GtkFlowBoxChild
  * uses a single CSS node with name flowboxchild.
  * For rubberband selection, a subnode with name rubberband is used.
+ *
+ * # Accessibility
+ *
+ * GtkFlowBox uses the #GTK_ACCESSIBLE_ROLE_GRID role, and GtkFlowBoxChild
+ * uses the #GTK_ACCESSIBLE_ROLE_GRID_CELL role.
  */
 
 #include <config.h>
index b6612f34c7315ac0898f65e407dcc7bb77c3cdf5..f08e3bf5596e7c9e0214feaaba28e18ac49897ea 100644 (file)
  * The main list node may also carry style classes to select
  * the style of [list presentation](ListContainers.html#list-styles):
  * .rich-list, .navigation-sidebar or .data-table.
+ *
+ * # Accessibility
+ *
+ * GtkListBox uses the #GTK_ACCESSIBLE_ROLE_LIST role and GtkListBoxRow uses
+ * the #GTK_ACCESSIBLE_ROLE_LIST_ITEM role.
  */
 
 typedef struct _GtkListBoxClass   GtkListBoxClass;